<template>
    <div>{{ money }}</div>
    <button @click="add">点我加工资</button>
</template>
  
<script setup>
import { ref } from 'vue';

let money = ref(10000)
const add = () => {
    money.value += 1000
}

</script>
